package com.cap.bts.framework.sms.scheduler;

import com.cap.bts.framework.common.util.ApplicationContextUtil;
import com.cap.bts.framework.scheduler.service.BaseJobBean;
import com.cap.bts.framework.sms.service.ISmContentService;
import com.cap.bts.framework.sms.util.HttpSMSProcessUtil;

/**
 * @author YIFEGU
 *
 */
public class SmsStatusJob extends BaseJobBean {

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.cap.bts.framework.scheduler.service.BaseJobBean#work()
	 */
	@Override
	public void work() throws Exception {
		ISmContentService smContentService = (ISmContentService) ApplicationContextUtil
				.getBean("smContentService");
		//获取短信发送状态
		smContentService.batchInsertStatus(HttpSMSProcessUtil.loadStatus());
	}

}